import React from "react";

class HotList extends React.Component {
    state={
        newsList:[]
    }
    render() {
        return (
            <>
                <div className='content'>
             <div className='tit'>
               <h4 className='title'>百度热搜</h4>
              <p className='huan' >换一换💱</p>
             </div>
               <ul className='ul'>{this.state.newsList.map(item => <li key={item.id} className='li'><span className='span'>{item.label}</span></li> )}      
               </ul>
           </div>
           
            </>
        );
    }
}
export default HotList